package com.gxa.service.impl.statistical;

import com.gxa.mapper.statistical.AdmStatisMapper;
import com.gxa.mapper.statistical.OutRegistMapper;
import com.gxa.pojo.vo.AdmDataVo;
import com.gxa.pojo.vo.AreaVo;
import com.gxa.pojo.vo.CareLevelVo;
import com.gxa.pojo.vo.OutDataVo;
import com.gxa.service.statistical.AdmStatisService;
import com.gxa.service.statistical.OutRegistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * <h3>new-zhyl</h3>
 * <p></p>
 *
 * @author : ch
 * @date : 2024-02-26 10:43
 **/
@Service
public class OutRegistServiceImpl implements OutRegistService {
    @Autowired
    private OutRegistMapper outRegistMapper;

    @Override
    public Integer selecttTdaysTotal() {

        return outRegistMapper.selecttTdaysOut();
    }

    @Override
    public Integer selectDifference() {

        return outRegistMapper.selectDifference();
    }

    @Override
    public Integer selectCount() {
        return outRegistMapper.selectOutCount();
    }

    @Override
    public Integer selectWeekCount() {
        return outRegistMapper.selectWeekCount();
    }

    @Override
    public Integer selectWeekDifference() {
        return outRegistMapper.selectWeekDifference();
    }

    @Override
    public Integer selectYearDifference() {
        return outRegistMapper.selectYearDifference();
    }

    @Override
    public Integer selectMonthCount() {
        return outRegistMapper.selectMonthCount();
    }

    @Override
    public Integer selectmonthDifference() {
        return outRegistMapper.selectmonthDifference();
    }

    @Override
    public List<OutDataVo> selectCountByDate(LocalDate startDate, LocalDate endDate) {

        return outRegistMapper.selectOutCountByDate(startDate,endDate);
    }

    @Override
    public List<AreaVo> selectByArea() {

        return outRegistMapper.selectByArea();
    }



}
